package org.judo.admin;

import org.judo.filter.Filter;
import org.judo.propertyobject.PropertyObject;

public class UserResultsFilter implements Filter
{
	public PropertyObject filter(PropertyObject obj)
	{
		Object status  = obj.get("status");
		
		if (status != null)
		{
			if (status.toString().equals("1"))
				obj.put("status","Active");
			else if (status.toString().equals("2"))
				obj.put("status","Inactive");
		}
		
		return obj;
	}
}
